cmake_minimum_required(VERSION 2.8.7)

set(PROJECTNAME testCppRestSdk)
project(${PROJECTNAME})

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

# find_package(cpprestsdk REQUIRED)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/webServer)

add_executable(${PROJECTNAME} testWebServer.cpp webServer/webServer.cpp)
target_link_libraries(${PROJECTNAME}
-lboost_system
-lcrypto
-lssl
-lcpprest)